A short description of the post.
For Shiny Apps, the code looks foreign and a bit are you serious after all this time I spent learning R coding
Once you get the basic structure, you can easily get started and then it is “Trial and Error”
Understand the core structure of Shiny apps: UI, Server, Reactivity
Learn how to create and run an App locally
Learn how to deploy your App on ARI’s shiny account
Ibis Tracker - Nev masterpiece
https://arisci.shinyapps.io/ibisTracker/
LISTS
#install.packages("shiny")
You can find a variety of cheatsheets at https://posit.co/resources/cheatsheets/
knitr::include_graphics("shiny.pdf")
s
# library(shiny)
# ui <- fluidPage( "Hello, world!" )
# server <- function(input, output, session) { }
# shinyApp(ui, server)
you put R code in renderFunction
extras at < https://github.com/nanxstats/awesome-shiny-extensions>
Let’s create replicate Examples https://shiny.posit.co/r/gallery/
This will become pretty useful for collaborations and your own self-learning. Also, we now have a ARI shiny account and consistency allows for increased sharing and understanding.
plotly
library(ggplot2)
library(plotly)
f <- ggplot( cars, aes(speed, dist) ) + geom_point() + geom_smooth()
plotly::ggplotly(f)
install.packages('rsconnect')
install.packages('rsconnect')rsconnect::setAccountInfo(name="<ACCOUNT>", token="<TOKEN>", secret="<SECRET>")https://shiny.posit.co/r/layouts/
For useful resources: https://shiny.posit.co/r/articles/ For useful examples: https://shiny.posit.co/r/articles/
see https://mastering-shiny.org/